package com.guodefu.demo.vo;

import com.guodefu.sensitive.annotation.Sensitive;
import com.guodefu.sensitive.handler.BankCardSensitiveStrategy;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DictionaryVO {
    private Long id;
    private String type;
    private String code;
    @Sensitive(maskString = "***", type = BankCardSensitiveStrategy.class)
    private String name;
    private String ename;
    private String description;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}

